package com.reportgear.core.api;

import net.abbp.core.api.ICloneable;

/**
 * 基本对象，作为所有对象的基类
 * 
 * @version 1.0 2011-4-26
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since Report 1.0
 */
public class BaseObject implements ICloneable<BaseObject> {
    /**
     * 对象克隆
     */
    public BaseObject clone() {
        try {
            BaseObject cloned = (BaseObject) super.clone();

            return cloned;
        } catch (CloneNotSupportedException ex) {
            throw new InternalError("基本对象复制发生错误");
        }
    }
}
